<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Swoole 函数</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="swoole.constants.html">« 预定义常量</a></li>
      <li style="float: right;"><a href="function.swoole-async-dns-lookup.html">swoole_async_dns_lookup »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.swoole.html">Swoole</a></li>
    <li>Swoole 函数</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.swoole-funcs" class="reference">
 <h1 class="title">Swoole 函数</h1>

  





































































































































































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.swoole-async-dns-lookup.html">swoole_async_dns_lookup</a> — Async and non-blocking hostname to IP lookup</li><li><a href="function.swoole-async-read.html">swoole_async_read</a> — Read file stream asynchronously</li><li><a href="function.swoole-async-readfile.html">swoole_async_readfile</a> — Read a file asynchronously</li><li><a href="function.swoole-async-set.html">swoole_async_set</a> — Update the async I/O options</li><li><a href="function.swoole-async-write.html">swoole_async_write</a> — Write data to a file stream asynchronously</li><li><a href="function.swoole-async-writefile.html">swoole_async_writefile</a> — Write data to a file asynchronously</li><li><a href="function.swoole-clear-error.html">swoole_clear_error</a> — Clear errors in the socket or on the last error code</li><li><a href="function.swoole-client-select.html">swoole_client_select</a> — Get the file description which are ready to read/write or error</li><li><a href="function.swoole-cpu-num.html">swoole_cpu_num</a> — Get the number of CPU</li><li><a href="function.swoole-errno.html">swoole_errno</a> — Get the error code of the latest system call</li><li><a href="function.swoole-error-log.html">swoole_error_log</a> — Output error messages to the log</li><li><a href="function.swoole-event-add.html">swoole_event_add</a> — Add new callback functions of a socket into the EventLoop</li><li><a href="function.swoole-event-defer.html">swoole_event_defer</a> — Add callback function to the next event loop</li><li><a href="function.swoole-event-del.html">swoole_event_del</a> — Remove all event callback functions of a socket</li><li><a href="function.swoole-event-exit.html">swoole_event_exit</a> — Exit the eventloop, only available at the client side</li><li><a href="function.swoole-event-set.html">swoole_event_set</a> — Update the event callback functions of a socket</li><li><a href="function.swoole-event-wait.html">swoole_event_wait</a> — Start the event loop</li><li><a href="function.swoole-event-write.html">swoole_event_write</a> — Write data to a socket</li><li><a href="function.swoole-get-local-ip.html">swoole_get_local_ip</a> — Get the IPv4 IP addresses of each NIC on the machine</li><li><a href="function.swoole-last-error.html">swoole_last_error</a> — Get the lastest error message</li><li><a href="function.swoole-load-module.html">swoole_load_module</a> — Load a swoole extension</li><li><a href="function.swoole-select.html">swoole_select</a> — Select the file descriptions which are ready to read/write or error in the eventloop</li><li><a href="function.swoole-set-process-name.html">swoole_set_process_name</a> — Set the process name</li><li><a href="function.swoole-strerror.html">swoole_strerror</a> — Convert the Errno into error messages</li><li><a href="function.swoole-timer-after.html">swoole_timer_after</a> — Trigger a one time callback function in the future</li><li><a href="function.swoole-timer-exists.html">swoole_timer_exists</a> — Check if a timer callback function is existed</li><li><a href="function.swoole-timer-tick.html">swoole_timer_tick</a> — Trigger a timer tick callback function by time interval</li><li><a href="function.swoole-version.html">swoole_version</a> — Get the version of Swoole</li></ul>
</div>
</div></div></body></html>